package cn.com.egova.service;

import cn.com.egova.dao.LinkmanDao;
import cn.com.egova.domain.Linkman;
import cn.com.egova.domain.PageBean;
import org.hibernate.criterion.DetachedCriteria;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by yuanchao on 2020/5/26.
 */
@Transactional
public class LinkmanServiceImpl implements LinkmanService {
    private LinkmanDao linkmanDao;

    public void setLinkmanDao(LinkmanDao linkmanDao) {
        this.linkmanDao = linkmanDao;
    }


    @Override
    public PageBean<Linkman> findByPage(Integer pageCode, Integer pageSize, DetachedCriteria criteria) {
        return linkmanDao.findByPage(pageCode, pageSize, criteria);
    }
}
